//
//  RTUIButton+Extension.swift
//  Weibo
//
//  Created by Brisinga on 16/3/3.
//  Copyright © 2016年 Root. All rights reserved.
//

import UIKit

extension UIButton {

    convenience init (title: String?=nil,textColor: UIColor?=nil,textFont: CGFloat) {
    
        self.init()
        
        self.setTitle(title, forState: UIControlState.Normal)
        self.setTitleColor(textColor, forState: UIControlState.Normal)
        self.titleLabel?.font = UIFont.systemFontOfSize(textFont)
    }
}
